Universal Access To All Knowledge
Home Donate | Store | Blog | FAQ | Jobs | Volunteer Positions | Contact | Bios | Forums | Projects | Terms, Privacy, & Copyright
Search: Advanced Search
Anonymous User (login or join us)
Upload

Reply to this post | See parent post | Go Back
View Post [edit]

Poster: bpalumbo Date: Aug 12, 2004 10:17am
Forum: democracy_now Subject: Re: ftp sites

here a script to download DN with WGet with the settings in crontab. I got this to work with FreeBSD 4.9.

%more DNWGet
#!/bin/csh
wget http://www.archive.org/download/dn`date +"%Y-%m%d"`/dn`date +"%Y-%m%d"`-1_6
4kb.mp3
mv /path/to/download/dn`date +"%Y-%m%d"`-1_64kb.mp3 /path/to/dir/mp3/DN/.
exit 0


You can make a second script for when they have a two hour show -1_64kb.mp3 to -2_64kb.mp3

00 20 * * 1-5 /path/to/script/mp3/DN/DNWGet > /dev/null 2>&1

set to run 8pm Monday-Friday

Happy Listening


This post was modified by bpalumbo on 2004-08-12 17:15:34

This post was modified by bpalumbo on 2004-08-12 17:17:04